package day04

class OrderedGirl(val name:String, val age:Int, val faceValue:Int){

  override def toString = s"OrderedGirl($name, $age, $faceValue)"
}

object OrderedGirl{
  def apply(name: String, age: Int, faceValue: Int): OrderedGirl = new OrderedGirl(
    name, age, faceValue
  )
}
